package cn.liumouren.jzxd.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * 
 * @author Freeman Liu
 * @email llw599502537@gmail.com
 * @date 2020-10-30 16:52:42
 */
@Data
@TableName("tb_likes")
public class Likes implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	private String id;
	/**
	 * 
	 */
	@ApiModelProperty("被点赞的动态id")
	private String zoneId;
	/**
	 * 
	 */
	@ApiModelProperty("点赞者id")
	private String userId;
	/**
	 * 
	 */
	private Date addTime;

	@TableField(exist = false)
	private User user;

}
